package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication // 一个注解解决所有的问题
@MapperScan("com.dao")
public class StartSpringBootDatabaseApplication {
    public static void main(String[] args) {
        SpringApplication.run(StartSpringBootDatabaseApplication.class, args); // 运行SpringBoot程序
    }
}